home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / Universal / Interfaces / PInterfaces / GoggleSprocket.p < prev    next >
Encoding:
Text File  |  1998-08-17  |  1.7 KB  |  81 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        GoggleSprocket.p
  3.  
  4.      Contains:    Games Sprockets: GoggleSprocket interfaces
  5.  
  6.      Version:    Technology:    Goggle Sprocket 1.1
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1996-1998 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. }
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT GoggleSprocket;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __GOGGLESPROCKET__}
  27. {$SETC __GOGGLESPROCKET__ := 1}
  28.  
  29. {$I+}
  30. {$SETC GoggleSprocketIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33. {$IFC UNDEFINED __MACTYPES__}
  34. {$I MacTypes.p}
  35. {$ENDC}
  36. {$IFC UNDEFINED __EVENTS__}
  37. {$I Events.p}
  38. {$ENDC}
  39.  
  40.  
  41. {$PUSH}
  42. {$ALIGN MAC68K}
  43. {$LibExport+}
  44.  
  45. {$IFC TARGET_CPU_PPC }
  46. {
  47. ********************************************************************************
  48. ** constants & data types
  49. ********************************************************************************
  50. }
  51.  
  52. TYPE
  53. {$IFC TYPED_FUNCTION_POINTERS}
  54.     GSpEventProcPtr = FUNCTION(VAR inEvent: EventRecord): BOOLEAN; C;
  55. {$ELSEC}
  56.     GSpEventProcPtr = ProcPtr;
  57. {$ENDC}
  58.  
  59. {
  60. ********************************************************************************
  61. ** prototypes for application level calls
  62. ********************************************************************************
  63. }
  64. { general }
  65. FUNCTION GSpStartup(inReserved: UInt32): OSStatus; C;
  66. FUNCTION GSpShutdown(inReserved: UInt32): OSStatus; C;
  67. { configuration }
  68. FUNCTION GSpConfigure(inEventProc: GSpEventProcPtr; VAR inUpperLeft: Point): OSStatus; C;
  69. {$ENDC}  {TARGET_CPU_PPC}
  70.  
  71. {$ALIGN RESET}
  72. {$POP}
  73.  
  74. {$SETC UsingIncludes := GoggleSprocketIncludes}
  75.  
  76. {$ENDC} {__GOGGLESPROCKET__}
  77.  
  78. {$IFC NOT UsingIncludes}
  79.  END.
  80. {$ENDC}
  81.